<?php
/**
 * IndexController
 * 
 * @author
 * @version 
 */
require_once 'Zend/Controller/Action.php';
class IndexController extends Zend_Controller_Action
{
    /**
     * The default action - show the home page
     */
    public function indexAction ()
    {
       $this->view->title = "Accueil";
       $grandsprix = new Default_Models_DbTable_Grandprix();
       $listeGrandprix = $grandsprix->listerGrandprixDateRecente();
       $this->view->listeGrandprix = $listeGrandprix;
    }
}
